package com.dycong.common.IO.netty.frame_coder;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by dycong on 2017/4/17.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Msg {
    byte type=0;
    byte status=0;
    int length;

    @Override
    public String toString() {
        return "Msg{" +
                "type=" + type +
                ", status=" + status +
                ", length=" + length +
                ", body='" + body + '\'' +
                '}';
    }

    String body;
}
